package com.smartcampusbackend.service;

import com.smartcampusbackend.model.UserReadStatus;
import java.util.List;

public interface UserReadStatusService {
    int markAsRead(Integer userId, Integer announcementId);
    UserReadStatus getReadStatus(Integer userId, Integer announcementId);
    List<UserReadStatus> getUserReadStatus(Integer userId, String type);
    int batchCreateReadStatus(Integer userId, List<Integer> announcementIds);
    // 删除阅读状态记录
    int deleteReadStatusByAnnouncementId(Integer announcementId);

    void initializeAnnouncementReadStatus(Integer id, List<Integer> allUserIds);
} 